package com.example.demo.mapper;

import com.example.demo.bean.CmsCategory;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CmsCategoryMapper {
    int deleteByPrimaryKey(String id);

    int insert(CmsCategory record);

    CmsCategory selectByPrimaryKey(String id);

    List<CmsCategory> selectAll();

    int updateByPrimaryKey(CmsCategory record);
    
    List<CmsCategory> allCategoryWithParent();
}